
package com.one.odf.model;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for medalLineType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="medalLineType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Description" type="{}medalNumberDescriptionType"/&gt;
 *         &lt;element name="MedalNumber" type="{}medalNumberType" maxOccurs="unbounded"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Rank" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
 *       &lt;attribute name="RankTotal" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
 *       &lt;attribute name="SortRank" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
 *       &lt;attribute name="SortRankTotal" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
 *       &lt;attribute name="RankEqual" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="RankTotalEqual" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Organisation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "medalLineType", propOrder = {
    "description",
    "medalNumber"
})
public class MedalLineType {

    @XmlElement(name = "Description", required = true)
    protected MedalNumberDescriptionType description;
    @XmlElement(name = "MedalNumber", required = true)
    protected List<MedalNumberType> medalNumber;
    @XmlAttribute(name = "Rank", required = true)
    protected BigInteger rank;
    @XmlAttribute(name = "RankTotal", required = true)
    protected BigInteger rankTotal;
    @XmlAttribute(name = "SortRank", required = true)
    protected BigInteger sortRank;
    @XmlAttribute(name = "SortRankTotal", required = true)
    protected BigInteger sortRankTotal;
    @XmlAttribute(name = "RankEqual", required = true)
    protected String rankEqual;
    @XmlAttribute(name = "RankTotalEqual", required = true)
    protected String rankTotalEqual;
    @XmlAttribute(name = "Organisation", required = true)
    protected String organisation;

    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link MedalNumberDescriptionType }
     *     
     */
    public MedalNumberDescriptionType getDescription() {
        return description;
    }

    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link MedalNumberDescriptionType }
     *     
     */
    public void setDescription(MedalNumberDescriptionType value) {
        this.description = value;
    }

    /**
     * Gets the value of the medalNumber property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the medalNumber property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMedalNumber().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link MedalNumberType }
     * 
     * 
     */
    public List<MedalNumberType> getMedalNumber() {
        if (medalNumber == null) {
            medalNumber = new ArrayList<MedalNumberType>();
        }
        return this.medalNumber;
    }

    /**
     * Gets the value of the rank property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getRank() {
        return rank;
    }

    /**
     * Sets the value of the rank property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setRank(BigInteger value) {
        this.rank = value;
    }

    /**
     * Gets the value of the rankTotal property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getRankTotal() {
        return rankTotal;
    }

    /**
     * Sets the value of the rankTotal property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setRankTotal(BigInteger value) {
        this.rankTotal = value;
    }

    /**
     * Gets the value of the sortRank property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getSortRank() {
        return sortRank;
    }

    /**
     * Sets the value of the sortRank property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setSortRank(BigInteger value) {
        this.sortRank = value;
    }

    /**
     * Gets the value of the sortRankTotal property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getSortRankTotal() {
        return sortRankTotal;
    }

    /**
     * Sets the value of the sortRankTotal property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setSortRankTotal(BigInteger value) {
        this.sortRankTotal = value;
    }

    /**
     * Gets the value of the rankEqual property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRankEqual() {
        return rankEqual;
    }

    /**
     * Sets the value of the rankEqual property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRankEqual(String value) {
        this.rankEqual = value;
    }

    /**
     * Gets the value of the rankTotalEqual property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRankTotalEqual() {
        return rankTotalEqual;
    }

    /**
     * Sets the value of the rankTotalEqual property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRankTotalEqual(String value) {
        this.rankTotalEqual = value;
    }

    /**
     * Gets the value of the organisation property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrganisation() {
        return organisation;
    }

    /**
     * Sets the value of the organisation property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrganisation(String value) {
        this.organisation = value;
    }

}
